<template>
    <div>
<h2>房号列表</h2>
<input type="button" value="添加" class="btn btn-primary" @click="add" />

    </div>
</template>

<script setup lang="ts">

import { ref, reactive, onMounted } from 'vue';
 import axios from 'axios';
 import { useRouter ,useRoute} from 'vue-router';
 const router=useRouter();
 const  route=useRoute();

//跳转
 const add=()=>{

    router.push('/houseNoAdd');
 }
</script>

<style scoped>

</style>